package cc.mrbird.unit.domain;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
@Table(name = "user_unit")
public class UserUnit implements Serializable {
    private static final long serialVersionUID = -3166012934498268409L;

    @Column(name = "user_id")
    private Long user_id;

    @Column(name = "unit_id")
    private Long unit_id;

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public Long getUnit_id() {
        return unit_id;
    }

    public void setUnit_id(Long unit_id) {
        this.unit_id = unit_id;
    }

    @Override
    public String toString() {
        return "UserUnit{" +
                "user_id=" + user_id +
                ", unit_id=" + unit_id +
                '}';
    }
}
